package com.landleaf.smarthome.model;

import java.util.List;

/**
 * When I wrote this, only God and I understood what I was doing
 * Now, God only knows
 * Created by 海航
 * 2020/9/24
 * 功能描述:
 */
public class SceneDeviceModel {
    private String deviceSn;
    private String deviceName;
    private String port;
    private int sortNo;
    private Long roomId;
    private String productCode;
    private int hvacFlag;//是否是暖通设备

    private List<DeviceAttribute> attrs;//普通的属性键值对列表

    private List<HvacSceneModeListModel> hvacList;//场景中使用的一个特殊的属性

    public String getDeviceSn() {
        return deviceSn;
    }

    public void setDeviceSn(String deviceSn) {
        this.deviceSn = deviceSn;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public int getSortNo() {
        return sortNo;
    }

    public void setSortNo(int sortNo) {
        this.sortNo = sortNo;
    }

    public Long getRoomId() {
        return roomId;
    }

    public void setRoomId(Long roomId) {
        this.roomId = roomId;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public int getHvacFlag() {
        return hvacFlag;
    }

    public void setHvacFlag(int hvacFlag) {
        this.hvacFlag = hvacFlag;
    }

    public List<DeviceAttribute> getAtts() {
        return attrs;
    }

    public void setAtts(List<DeviceAttribute> atts) {
        this.attrs = atts;
    }

    public List<HvacSceneModeListModel> getHvacList() {
        return hvacList;
    }

    public void setHvacList(List<HvacSceneModeListModel> hvacList) {
        this.hvacList = hvacList;
    }
}
